﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace CustomControls
{
    public partial class GridControlCustomSmall : DevExpress.XtraEditors.XtraUserControl
    {
        public GridControlCustomSmall()
        {
            InitializeComponent();
        }

        private void gridViewKhoanMucSmall_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
        {
            try
            {
                if (e.RowHandle >= 0)
                    e.Info.DisplayText = (e.RowHandle + 1).ToString();
            }
            catch (Exception ex)
            {
            }
        }
    }
}
